package com.crape.message.bo;

import java.util.List;

import com.crape.common.exceptions.BOException;
import com.crape.common.model.MsgNotice;

public interface IMsgNoticeBO {

    MsgNotice getMsgNoticeById(Long id) throws BOException;

    List<MsgNotice> getPagedMsgNoticeBySid(Long accountid, Integer state, Integer startIndex, Integer pageSize)
                                                                                                              throws BOException;

    void addMsgNotice(MsgNotice msgNotice) throws BOException;

    void deleteMsgNoticeById(Long id) throws BOException;

}
